package com.zuo.demo01.dao;


import com.zuo.demo01.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface UserMapper {

    List<User> selectAll();

    User login(User user);

    int update(Map<String,Object> map);


    User findByName(String username);


}
